
# 逻辑运算符使用所示:
print(True and False)
print(True and True)
print(True or False)
print(not False)
# 成员运算符使用所示:
str1 = 'hello'
print('h' in str1)
print('a' in str1)
print('c' not in str1)
print('o' not in str1)
score = eval(input("请输入一个年份:"))
if score % 4 == 0 and score % 100 != 0 or score % 400 == 0:
    print("是闰年")
else:
    print("不是闰年")




